<template>
    <el-table
            :data="tableData"
            stripe
            style="width: 100%">
        <el-table-column
                prop="checkid"
                label="检查编号"
                width="100">
        </el-table-column>
        <el-table-column
                prop="name"
                label="姓名"
                width="180">
        </el-table-column>
        <el-table-column
                prop="age"
                label="年龄"
                width="180">
        </el-table-column>
        <el-table-column
                prop="sex"
                label="性别"
                width="180">
        </el-table-column>
        <el-table-column
                prop="date"
                label="检查日期"
                width="180">
        </el-table-column>
        <el-table-column
                prop="name"
                label="姓名"
                width="180">
        </el-table-column>
        <el-table-column
                prop="phone"
                label="手机号码"
                width="180">
        </el-table-column>
        <el-table-column label="操作">
            <el-button
                    size="mini"
                    @click="deleteClick()" icon="el-icon-delete" style="border: 0px"></el-button>
            <el-button
                    size="mini"
                    @click="detailClick()" icon="el-icon-document" style="border: 0px"></el-button>
        </el-table-column>
    </el-table>
</template>

<script>
    export default {
        name: "informationtable",
        data() {
            return {
                checkid:"1",
                tableData: [{
                    checkid:'1',
                    date: '2016-05-02',
                    name: '王小虎',
                    age: '100',
                    sex: '女',
                    phone: '123456789',

                },
                    {
                        checkid:'1',
                        date: '2016-05-02',
                        name: '王小虎',
                        age: '100',
                        sex: '女',
                        phone: '123456789',
                    },
                    {
                        checkid:'1',
                        date: '2016-05-02',
                        name: '王小虎',
                        age: '100',
                        sex: '女',
                        phone: '123456789',
                    },
                    {
                        checkid:'1',
                        date: '2016-05-02',
                        name: '王小虎',
                        age: '100',
                        sex: '女',
                        phone: '123456789',
                    },
        ]
            }
        },

        methods: {
            deleteClick: function () {

            },
            detailClick: function () {

            },
        }


    }
</script>

<style scoped>

</style>